# -*- coding: utf-8 -*-

# Define your item pipelines here
#
# Don't forget to add your pipeline to the ITEM_PIPELINES setting
# See: https://docs.scrapy.org/en/latest/topics/item-pipeline.html


class DangdangDemoPipeline:
    def process_item(self, item, spider):
        for i in range(0,len(item["title"])): 
            title=item["title"][i]
            link=item["link"][i]
            comment=item["comment"][i]
            print title + link + comment
        return item
